﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OneSpider.Models.ResultModel
{
    public class SerialResult
    {
        [JsonProperty("id")]
        public int Id { get; set; }

        [JsonProperty("serial_id")]
        public int SerialId { get; set; }

        [JsonProperty("number")]
        public string Number { get; set; }

        [JsonProperty("title")]
        public string Title { get; set; }

        [JsonProperty("excerpt")]
        public string Excerpt { get; set; }

        [JsonProperty("read_num")]
        public string ReadNum { get; set; }

        [JsonProperty("maketime")]
        public DateTime Maketime { get; set; }

        [JsonProperty("start_video")]
        public string StartVideo { get; set; }

        [JsonProperty("author")]
        public AuthorResult Author { get; set; }

        [JsonProperty("has_audio")]
        public bool HasAudio { get; set; }

        [JsonProperty("author_list")]
        public List<AuthorResult> AuthorList { get; set; }

        [JsonProperty("serial_list")]
        public List<int> SerialList { get; set; }
    }
}
